memoryformat: Copy idea from tiff code
authorBenjamin Otte <otte@redhat.com>
Fri, 21 Jul 2023 01:05:40 +0000 (03:05 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 21 Jul 2023 23:33:44 +0000 (01:33 +0200)
commit7a58439977440522d20799fc1bacbcb822886ba4
tree18dabf09c32314f2b36d9e744144b0ac98afc7f1
parent27fbdcbecb6e497cd9dfdde0e67fc77d05f8917e
memoryformat: Copy idea from tiff code

The static assertion makes sure that newer formats get added.
gdk/gdkmemoryformat.c